﻿using System.ComponentModel.DataAnnotations;

namespace QDT.Web.Admin.Models
{
    public class ProjectTypeModel
    {
        public int ID  { get; set; }

        [Required]
        public string Name { get; set; }

        public string Brief { get; set; }

        public bool IsEffect { get; set; }

        public int Sort { get; set; }

        public string Icon { get; set; }

    }

    public class ProjectFeildModel
    {
        public int ID { get; set; }

        public int TypeID { get; set; }

        [Required]
        public string Name { get; set; }

        [Required]
        public string ShowName { get; set; }

        public int InputType { get; set; }

        public string ValueScope { get; set; }

        public bool IsRequire { get; set; }

        public bool IsEffect { get; set; }

        public int Sort { get; set; }

        public string Tip { get; set; }

    }
}